<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">   
    <title>角色权限分配</title>
<link href="__CSS__/base.css" rel="stylesheet" type="text/css">
<link href="__CSS__/icons.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="__CSS__/common.css" type="text/css" media="screen" />
</head>
   
<body>
<div class="common_title">
<span>角色权限分配</span>
</div>
      <div class="divContent">
          <div >
              <form name="roleForm" method="post" enctype="multipart/form-data" action="__SELF__" id="af">
              <input type="hidden" name="roleid" value="<{$show.role_id}>">
              <table border="0" cellspacing="0" cellpadding="0" width="99%" class="tableClass">
                   <volist name="authp" id="v">
                   <tr>
                       <td width="28%"><input type="checkbox" name="auth-id[]" value="<{$v.id}>" <in name="v.id" value="$have">checked</in>><{$v.auth-name}>

                       </td>
                       <td>
                           <volist name="authc" id="x">
                           <eq name="x.pid" value="$v['id']">
                               <div style="width:200px;float:left;height:25px;line-height:25px;">
                                   <input type="checkbox" name="auth-id[]" value="<{$x.id}>" <in name="x.id" value="$have">checked</in>>
                                   <{$x.auth-name}>
                               </div> </eq>
                           </volist>
                       </td>
                   </tr>
                   </volist>
                  <tr>
                      <td colspan="4" align="center">
<a class="butbase" id="btn_submit"><span class="icon-save" onclick="document.getElementById('af').submit();">分配权限</span></a>　　
<a class="butbase" id="btn_bak" href="javascript:history.back();"><span class="icon-return">返回</span></a>
                      </td>
                  </tr>
              </table>
              </form>
          </div>
  </div>
</body>
</html>
